<template>
  <div id="message">
    <div class="main" v-for="(message,index) in questInfo" :key="index">
      <Row>
        <Col span="24" class="msgTitle">
          <span>{{message.questTitle}}</span>
        </Col>
      </Row>
      <Row>
        <Col span="24">
          <p>{{message.content}}</p>
        </Col>
      </Row>
    </div>
  </div>
</template>

<script>
import { Row, Col } from "view-design";
export default {
  name: "message",
  components: {
    Row,
    Col
  },
  props: ["questInfo"],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>

<style scoped>
.main {
  margin: 0 15px;
  font-size: 10px;
  color: #9b9b9b;
  line-height: 24px;
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
}
.msgTitle {
  font-size: 14px;
  color: black;
  padding-bottom: 5px;
}
</style>